﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Pg.BioMedics.SDR.Entities
{
    /// <summary>
    /// Token entity
    /// </summary>
    [Serializable]
    [DataContract]
    public class Token
    {
        /// <summary>
        /// Gets token uniques id
        /// </summary>
        [DataMember]
        public int? Id
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets token symbol
        /// </summary>
        [DataMember]
        public string Value
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets token type code
        /// </summary>
        [DataMember]
        public string TypeCode
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets annotation id
        /// </summary>
        [DataMember]
        public int AnnotationId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets proboability score
        /// </summary>
        [DataMember]
        public double? Probability
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets acoustic score
        /// </summary>
        [DataMember]
        public double? AcousticScore
        {
            get;
            set;
        }

        /// <summary>
        /// Gets / sets token offset in descriptor
        /// </summary>
        [DataMember]
        public int? Offset
        {
            get;
            set;
        }
    }
}
